<include file="Public/header" />      
        <div class="layui-container" style="margin-top: 20px;">
             <div class="x-nav">
              <span class="layui-breadcrumb">
                <a><{$Think.session.schoolid|getschool}></a>
                <!-- <a><cite><{$class}></cite></a> -->
                 <a><{$stu.class}>班</a>
                <a><{$stu.sname}></a>
              </span>
              <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
                <i class="layui-icon" style="line-height:30px">ဂ</i></a>
            </div>
            <div class="layui-row">
                <div class="layui-col-md12">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                  <legend>我的选课</legend>
                </fieldset>
                    <ul class="layui-timeline">
                    <!-- <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis">&#xe63f;</i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">置顶的说明文档</h3>
                            <h3>#联系：</h3>
                            <ul>
                                <li>Email:hxb0810@163.com</li>
                                <li>如需要联系，可发邮件到上述邮箱
                                </li>
                            </ul>
                            <h3>#鸣谢：</h3>
                            <ul>
                                <li><a href="http://www.thinkphp.cn/">ThinkPHP</a>  &nbsp; &nbsp;<a href="http://www.layui.com/">LayUI(贤心)</a></li>
                                <li><a href="index.1.html" target="_blank">点击查看一级菜单的加载</a></li>
                            </ul>
                        </div>
                    </li> -->
                    <volist name="sel" id="vo" empty="暂时没有数据">
                    <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis">&#xe705;</i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title"><{$vo.ctime|date="Y-m-d H:i:s",###}></h3>
                            
                            <div class="layui-row">
                                <div layui-col-md-12 class="layui-bg-green" style="padding:15px;text-align: center;">
                                    <a href="javascript:;" style=" width:100%;height: auto;color: white;" onclick="to_sel(<{$vo.seid}>);"><{$vo.title}></a> 
                                </div>
                            </div>
                        </div>
                    </li>
                    </volist>
                    <!-- <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis">&#xe705;</i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">2017.09</h3>
                            
                            <div class="layui-row">
                                <div layui-col-md-12 class="layui-bg-green" style="padding:15px;text-align: center;">
                                    <a href="" style=" width:100%;height: auto;color: white;">000</a> 
                                </div>
                            </div>
                        </div>
                    </li> -->
                   <!--  <li class="layui-timeline-item">
                        <i class="layui-icon layui-timeline-axis">&#xe705;</i>
                        <div class="layui-timeline-content layui-text">
                            <h3 class="layui-timeline-title">2017.09</h3>
                            
                            <div class="layui-row">
                                <div layui-col-md-12 class="layui-bg-green" style="padding:15px;text-align: center;">
                                    <a href="" style=" width:100%;height: auto;color: white;">000</a> 
                                </div>
                            </div>
                        </div>
                    </li> -->
                    
                    </ul>
                </div>
                
            </div>
            <div style="height:54px;">&nbsp;</div>
            <include file="Public/footer" />
        </div>
       
    </div>
    
    <script type="text/javascript">
        // var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");
        // document.write(unescape("%3Cspan id='cnzz_stat_icon_1264021086'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s22.cnzz.com/z_stat.php%3Fid%3D1264021086%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));
    </script>
    
    <script>
layui.use(['layer','element'], function(){
  var layer = layui.layer,element=layui.element;
      });
$('#pay').on('click', function() {
    layer.open({
        title: false,
        type: 1,
        content: '<img src="__PUBLIC__/img/me.jpg" />',
        area: ['430px', '430px'],
        shadeClose: true
    });
 });
$('#me').on('click', function() {
    layer.open({
        title: '朋友，你好！',
        btn:'朕已知道',
        type: 0,
        scrollbar: false,
        content: '<div style="width:300px; height:105px; background-color:#393D49;color: #fff; margin:-20px;"><div style="padding:20px;text-align:center;">Email:hxb0810@163.com<br>Tel:15534378771</div></div>',
        area: ['300px', '200px'],
        shadeClose: true
    });
 });
    function out_login(){
        if(confirm("确定要退出么？")){
        return true;
        }else{
        return false;
        }
    };
    function to_sel(x){
        var seid=x;
        //发异步验证
        //alert(seid);
          $.get("<{:U('sel_check')}>",{seid:seid},function(data,status){
                //alert("Data: " + data + "\nStatus: " + status);
                if (data >= 1) {
                  //layer.msg('登录成功！');
                    location.href="__URL__/selection/seid/"+seid;
                } else{
                  layer.msg('该选课已关闭！');
                  
                } 
          });
    }
    </script>

</body>

</html>